Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ingest): support setting fields for csv without header row + csv batching #221

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

lukasmalkmus
Copy link
Collaborator

@lukasmalkmus lukasmalkmus commented Apr 3, 2024

CSV should be batchable as well!

Also adds the CSV headers feature for CSV files without a header row.

In line with axiomhq/axiom-go#305, I also addressed the batching behaviour here and made it less aggressive in time (flush batch every 5s instead of every 1s) but also introduced batch size based flushing (every 10k), whatever condition is met first. Also files are now batched instead of only stdin data.

@lukasmalkmus lukasmalkmus enabled auto-merge (rebase) April 3, 2024 16:52
@lukasmalkmus lukasmalkmus self-assigned this Apr 3, 2024
@lukasmalkmus lukasmalkmus added the enhancement New feature or request label Apr 3, 2024
@lukasmalkmus lukasmalkmus force-pushed the lukasmalkmus/csv-fields branch 2 times, most recently from 91ddd77 to 0cfc4c2 Compare April 25, 2024 19:51
@lukasmalkmus lukasmalkmus marked this pull request as draft April 26, 2024 10:28
auto-merge was automatically disabled April 26, 2024 10:29

Pull request was converted to draft

@lukasmalkmus lukasmalkmus marked this pull request as ready for review April 26, 2024 10:54
@lukasmalkmus lukasmalkmus enabled auto-merge (rebase) April 26, 2024 13:10
@lukasmalkmus lukasmalkmus force-pushed the lukasmalkmus/csv-fields branch 2 times, most recently from 49d7255 to f99e760 Compare April 29, 2024 10:32
@lukasmalkmus lukasmalkmus merged commit 5a1d546 into main Aug 20, 2024
8 checks passed
@lukasmalkmus lukasmalkmus deleted the lukasmalkmus/csv-fields branch August 20, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants